<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv ="X-UA-Compatible"   content ="IE=edge">
    <meta name="viewport" content ="width=device-width, initial-scale=1.0">
    <meta name="description" content ="find">
    <meta name="author" content ="evan">
    <title>Insert title here</title>
    <script type="text/javascript" src="js/jquery.min.js"></script>

    <script type="text/javascript">

        var find = function()
        {
            $.ajax( {
                url : '/data/get',
                type : 'POST',
                data : {a1:"a1111",a2:"a22222"},
                dataType : 'json',
                contentType:'application/json',
                async : false,
                success : function(data) {
                    console.log(data);
                    alert("success");

                },
                error : function() {
                    alert("ajax error");
                }
            });
        }

        var sureSave = function()
        {
            return true;

        }

    </script>
</head>
<body>
<form action="/data/get" method="post" onsubmit="return sureSave()">
  <input type="text" id="name" name="name" value="" />
    <input name="submit" type="submit" value="提交"/>
</form>

<div>
    <table width="80%" border="1" cellpadding="0" cellspacing="0">
        <tr>
            <th>imageHash</th>
            <th>impressions</th>
            <th>clicks</th>
            <th>results</th>
            <th>spent</th>
        </tr>
        <tr>
            <td>${vo.imageHash}</td>
            <td>${vo.impressions}</td>
            <td>${vo.clicks}</td>
            <td>${vo.results}</td>
            <td>${vo.spent}</td>
        </tr>
    </table>
</div>
</body>
</html>
